﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DynamicTest
{
    public class GruppenConfig
    {
        public string Name;
        public string Linie;
        public string Layout;

        /// <summary>
        /// Returns a <see cref="System.String"/> that represents this instance.
        /// </summary>
        /// <returns>
        /// A <see cref="System.String"/> that represents this instance.
        /// </returns>
        public override string ToString()
        {
            return this.ToString("");
        }

        /// <summary>
        /// Returns a <see cref="System.String"/> that represents this instance.
        /// </summary>
        /// <param name="indentation">The indentation.</param>
        /// <returns>
        /// A <see cref="System.String"/> that represents this instance.
        /// </returns>
        public string ToString(string indentation)
        {
            StringBuilder sb = new StringBuilder();
            sb.AppendFormat("{0}Name: \"{1}\" \r\n", indentation, this.Name);
            sb.AppendFormat("{0}Linie: \"{1}\" \r\n", indentation, this.Linie);
            sb.AppendFormat("{0}Layout: \"{1}\" \r\n", indentation, this.Layout);
            return sb.ToString();

        }

    }
}

